<?php if(function_exists('wp_pagenavi')) { ?>
	<?php wp_pagenavi(); ?>
<?php } else { ?>
	<ul>
		<li><?php next_posts_link(__('&laquo; Older entries', 'overall')); ?></li>
		<li><?php previous_posts_link(__('Newer entries &raquo;', 'overall')); ?></li>
	</ul>
<?php } ?>